home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / graphics / cup123.zip / CUP3.DAT < prev   
Text File  |  1992-07-12  |  9KB  |  286 lines

  1. // CUP3.DAT   data file for PoVRay 0.51
  2. //            copyright 1992 Truman Brown
  3. //            All Rights Reserved
  4.  
  5. #declare lightsphere = object sphere <0 0 0> 2 end_sphere end_object
  6. #declare light1      = object lightsphere texture color red 0.1 green 0.1 blue 0.1 end_texture light_source end_object
  7. #declare light2      = object lightsphere texture color red 0.2 green 0.2 blue 0.2 end_texture light_source end_object
  8. #declare light3      = object lightsphere texture color red 0.3 green 0.3 blue 0.3 end_texture light_source end_object
  9.  
  10. view_point
  11.    location  <  8       13 -155>
  12.    direction <  0        0   2 >
  13.    up        <  0        1   0 >
  14.    right     <  1.333333 0   0 >
  15.    look_at   <  0       26   0 >
  16. end_view_point
  17.  
  18. #declare QSphere = quadric
  19.    <1.0 1.0 1.0>
  20.    <0.0 0.0 0.0>
  21.    <0.0 0.0 0.0>
  22.    -1.0
  23. end_quadric
  24.  
  25. #declare Cylinder_X = quadric
  26.    <0.0 1.0 1.0>
  27.    <0.0 0.0 0.0>
  28.    <0.0 0.0 0.0>
  29.    -1.0
  30. end_quadric
  31.  
  32. #declare Cylinder_Y = quadric
  33.    <1.0 0.0 1.0>
  34.    <0.0 0.0 0.0>
  35.    <0.0 0.0 0.0>
  36.    -1.0
  37. end_quadric
  38.  
  39. #declare Cylinder_Z = quadric
  40.    <1.0 1.0 0.0>
  41.    <0.0 0.0 0.0>
  42.    <0.0 0.0 0.0>
  43.    -1.0
  44. end_quadric
  45.  
  46. #declare thingtexturex =
  47.    texture
  48.       wood
  49.       turbulence 0.05
  50.       color_map
  51.          [0.00 0.10 color red 0.42 green 0.26 blue 0.15 color red 0.42 green 0.26 blue 0.15]
  52.          [0.10 0.90 color red 0.42 green 0.26 blue 0.15 color red 0.52 green 0.37 blue 0.26]
  53.          [0.90 1.01 color red 0.52 green 0.37 blue 0.26 color red 0.52 green 0.37 blue 0.26]
  54.       end_color_map
  55.       ambient 0
  56.       diffuse 0.45
  57.       specular 1.0
  58.       roughness 0
  59.       scale <0.7 27.3 2>
  60.    end_texture
  61.  
  62. #declare thingtexture =
  63.    texture
  64.       marble
  65.       turbulence 0.75
  66.       color_map
  67.          [0.00 0.10 color red 0.42 green 0.26 blue 0.15 color red 0.42 green 0.26 blue 0.15]
  68.          [0.10 0.90 color red 0.42 green 0.26 blue 0.15 color red 0.52 green 0.37 blue 0.26]
  69.          [0.90 1.01 color red 0.52 green 0.37 blue 0.26 color red 0.52 green 0.37 blue 0.26]
  70.       end_color_map
  71.       ambient 0
  72.       diffuse 0.45
  73.       specular 1.0
  74.       roughness 0
  75.       scale <1.7 2.3 2>
  76.    end_texture
  77.  
  78. #declare cuptexture =
  79.    texture
  80.       color red 0.2 green 0.2 blue 0.2
  81.       ambient 0
  82.       diffuse 0.65
  83.       specular 1.0
  84.       roughness 0
  85.       brilliance 2
  86.       reflection 0.6
  87.    end_texture
  88.  
  89. #declare lip_ring =
  90.     quartic
  91.        < 1 0 0 0 2 0 0 2 0 -4.0725
  92.          0 0 0 0 0 0 0 0 0 0
  93.          1 0 0 2 0 4.05 0 0 0 0
  94.          1 0 -4.0725 0 4.100625 >
  95.     end_quartic
  96.  
  97. #declare Dotx =
  98.    quadric
  99.       QSphere
  100.       scale < 0.15 0.15 0.30 >
  101.    end_quadric
  102.  
  103. #declare handleconnector =
  104.    intersection
  105.       quadric
  106.          < 0.0  1.0  1.0>
  107.          < 0.0  0.0  0.0>
  108.          < 0.0  0.0  0.0>
  109.           -1.0
  110.       end_quadric
  111.       plane < 1.0  0.0  0.0> 1.0 end_plane
  112.       plane <-1.0  0.0  0.0> 0.0 end_plane
  113.    end_intersection
  114.  
  115. #declare handle =
  116.    object
  117.       union
  118.          quadric Dotx translate <-1.5 2.5  0.0 > end_quadric
  119.          quadric Dotx translate <-2.5 2.5  0.0 > end_quadric
  120.          quadric Dotx translate <-2.5 1.25 0.0 > end_quadric
  121.          quadric Dotx translate <-1.5 0.5  0.0 > end_quadric
  122.          intersection
  123.             handleconnector
  124.             scale     < 1.0 0.15 0.3 >
  125.             rotate    < 0.0 -180.0 0.0>
  126.             translate <-1.5 2.5 0.0>
  127.          end_intersection
  128.          intersection
  129.             handleconnector
  130.             scale     < 1.25 0.15 0.3 >
  131.             rotate    < 0.0  0.0 -90.0>
  132.             translate <-2.5  2.5   0.0>
  133.          end_intersection
  134.          intersection
  135.             handleconnector
  136.             scale     < 1.25 0.15 0.3>
  137.             rotate    < 0.0  0.0 -36.869898>
  138.             translate <-2.5  1.25 0.0>
  139.          end_intersection
  140.       end_union
  141.       bounded_by
  142.          sphere <-2 1.5 0> 1.4 end_sphere
  143.       end_bound
  144.    end_object
  145.  
  146. #declare cupbody =
  147.    object
  148.       intersection
  149.          quadric Cylinder_Y scale <1.50 1 1.50>         end_quadric
  150.          quadric Cylinder_Y scale <1.35 1 1.35> inverse end_quadric
  151.          plane   <0  1 0> 3.425 end_plane
  152.          plane   <0 -1 0> 0   end_plane
  153.       end_intersection
  154.       bounded_by
  155.          sphere <0 1.75 0> 5 end_sphere
  156.       end_bound
  157.       translate <0 0.075 0>
  158.    end_object
  159.  
  160. #declare cupring =
  161.    object
  162.       quartic lip_ring end_quartic
  163.       bounded_by
  164.          sphere <0 0 0> 1.51 end_sphere
  165.       end_bound
  166.       translate <0 3.5 0>
  167.    end_object
  168.  
  169. #declare cupbase =
  170.    object
  171.       union
  172.          quartic lip_ring end_quartic
  173.          intersection
  174.             quadric Cylinder_Y scale <1.425 1 1.425> end_quadric
  175.             plane <0  1 0> 0.075 end_plane
  176.             plane <0 -1 0> 0.075 end_plane
  177.          end_intersection
  178.       end_union
  179.       bounded_by
  180.          sphere <0 0 0> 1.51 end_sphere
  181.       end_bound
  182.       translate <0 0.075 0>
  183.    end_object
  184.  
  185. #declare hypercone1 =
  186.    object
  187.       intersection
  188.          quadric
  189.             <0.4444444444444444 -0.1060813002478357  0.4444444444444444>
  190.             <0.0000000000000000  0.0000000000000000  0.0000000000000000>
  191.             <0.0000000000000000  0.0000000000000000  0.0000000000000000>
  192.             -1.0
  193.          end_quadric
  194.          plane <0.0 1.0 0.0> 20.2370733982298674 end_plane
  195.          plane <0.0 1.0 0.0> -9.7629266024079921 inverse end_plane
  196.       end_intersection
  197.       translate <0.0 9.7629266024079921 0.0>
  198.    end_object
  199.  
  200. #declare tube1 =
  201.    object
  202.       quadric
  203.          Cylinder_Y
  204.          scale <5 1 5>
  205.       end_quadric
  206.       clipped_by
  207.          plane <0  1 0> 10 end_plane
  208.          plane <0 -1 0>  0 end_plane
  209.       end_clip
  210.    end_object
  211.  
  212. #declare tube2 =
  213.    object
  214.       quadric
  215.          Cylinder_Y
  216.          scale <10 1 10>
  217.       end_quadric
  218.       clipped_by
  219.          plane <0 1 0> 5 end_plane
  220.          plane <0 -1 0> 0 end_plane
  221.       end_clip
  222.    end_object
  223.  
  224. #declare ball1 =
  225.    object
  226.       quadric
  227.          QSphere
  228.          scale <10 10 10>
  229.       end_quadric
  230.       clipped_by
  231.          plane <0 1 0> -4.3494313662781545 inverse end_plane
  232.       end_clip
  233.       translate <0 4.3494313662781545 0>
  234.       scale <0.1110546063759889 0.1110546063759889 0.1110546063759889>
  235.       scale <10 10 10>
  236.    end_object
  237.  
  238. object ball1      translate < 0 40 35> rotate <0    0 0> texture thingtexturex end_texture end_object
  239. object hypercone1 translate < 0 10 35> rotate <0    0 0> texture thingtexturex end_texture end_object
  240. object tube1      translate < 0  0 35> rotate <0    0 0> texture thingtexturex end_texture end_object
  241.  
  242. object ball1      translate < 0 40 35> rotate <0   40 0> texture thingtexturex end_texture end_object
  243. object hypercone1 translate < 0 10 35> rotate <0   40 0> texture thingtexturex end_texture end_object
  244. object tube1      translate < 0  0 35> rotate <0   40 0> texture thingtexturex end_texture end_object
  245.  
  246. object ball1      translate < 0 40 35> rotate <0   80 0> texture thingtexturex end_texture end_object
  247. object hypercone1 translate < 0 10 35> rotate <0   80 0> texture thingtexturex end_texture end_object
  248. object tube1      translate < 0  0 35> rotate <0   80 0> texture thingtexturex end_texture end_object
  249.  
  250. object ball1      translate < 0 40 35> rotate <0  120 0> texture thingtexturex end_texture end_object
  251. object hypercone1 translate < 0 10 35> rotate <0  120 0> texture thingtexturex end_texture end_object
  252. object tube1      translate < 0  0 35> rotate <0  120 0> texture thingtexturex end_texture end_object
  253.  
  254. object ball1      translate < 0 40 35> rotate <0  -40 0> texture thingtexturex end_texture end_object
  255. object hypercone1 translate < 0 10 35> rotate <0  -40 0> texture thingtexturex end_texture end_object
  256. object tube1      translate < 0  0 35> rotate <0  -40 0> texture thingtexturex end_texture end_object
  257.  
  258. object ball1      translate < 0 40 35> rotate <0  -80 0> texture thingtexturex end_texture end_object
  259. object hypercone1 translate < 0 10 35> rotate <0  -80 0> texture thingtexturex end_texture end_object
  260. object tube1      translate < 0  0 35> rotate <0  -80 0> texture thingtexturex end_texture end_object
  261.  
  262. object ball1      translate < 0 40 35> rotate <0 -120 0> texture thingtexturex end_texture end_object
  263. object hypercone1 translate < 0 10 35> rotate <0 -120 0> texture thingtexturex end_texture end_object
  264. object tube1      translate < 0  0 35> rotate <0 -120 0> texture thingtexturex end_texture end_object
  265.  
  266. composite
  267.    object handle  scale <6 6 6> texture cuptexture end_texture end_object
  268.    object cupbody scale <6 6 6> texture cuptexture end_texture end_object
  269.    object cupbase scale <6 6 6> texture cuptexture end_texture end_object
  270.    object cupring scale <6 6 6> texture cuptexture end_texture end_object
  271. end_composite
  272.  
  273. object
  274.    plane <0 1 0> 0 end_plane
  275.    texture
  276.       color red 0.137255 green 0.419608 blue 0.556863
  277.       ambient 0.03
  278.       diffuse 0.6
  279.       reflection 0.8
  280.    end_texture
  281. end_object
  282.  
  283. object light3 translate <-120  141 -220> end_object
  284. object light3 translate <  -8   40 -220> end_object
  285. object light1 translate < 350   21 -520> end_object
  286.